Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 3 - Image Compression Manager / Image Compression Manager Reference
Image Compression Manager Functions / Working With Sequences


CDSequenceBusy

Your application may call the CDSequenceBusy function to check the status of an asynchronous compression or decompression operation.

pascal OSErr CDSequenceBusy (ImageSequence seqID);
seqID
Contains the unique sequence identifier that was returned by the DecompressSequenceBegin or CompressSequenceBegin function (described on page 3-107 and page 3-100, respectively).
DESCRIPTION
If there is no asynchronous operation in progress, the CDSequenceBusy function returns a 0 result code. If there is an asynchronous operation in progress, the result code is 1. Negative result codes indicate an error.

SPECIAL CONSIDERATIONS
If you call the CDSequenceEnd function (described in the next section), you don't need to call CDSequenceBusy to make sure you have completed an operation.

RESULT CODES
paramErr-50Invalid parameter specified
codecUnimpErr-8962Feature not implemented by this compressor
Component Manager errors


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996